package com.vsu.bookstore.mvc.ui;

import com.vaadin.ui.CustomComponent;

public abstract class AbstractView extends CustomComponent
{

  private static final long serialVersionUID = 1L;

  /**
   * @TODO Make it abstract, lazy currently...
   * @param object
   */
  protected void initialize() {}
  /**
   * Behaviour when the view is switched to this one
   * @param object The object passed to the view
   */
  protected abstract void onView();
}
